using System.Collections.Generic;
using System.Linq;

namespace FwkLight.Domain.Query
{
  public class AllItemsQuery<T> : LinqQuery<T, IList<T>>
  {
    protected override void GetMainQuery ( )
    {
      _queryable = (from q in _queryable select q);
    }

    public override void FilterOnlyActive ( ) { }

    public override void Sort ( ) { }

    public override IList<T> GetResult ( )
    {
      return _queryable.ToList();
    }
  }
}